package cn.xk.order.service;

import cn.xk.basic.util.PageList;
import cn.xk.order.domain.OrderPetAcquisition;
import cn.xk.basic.service.IBaseService;
import cn.xk.order.query.OrderPetAcquisitionQuery;
import cn.xk.pet.dto.OrderDto;
import org.springframework.web.bind.annotation.RequestBody;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author Keshao
 * @since 2023-02-21
 */
public interface IOrderPetAcquisitionService extends IBaseService<OrderPetAcquisition> {
    PageList<OrderPetAcquisition> queryPage(@RequestBody OrderPetAcquisitionQuery query, HttpServletRequest request);

    void confirm(OrderDto orderDto);

    void cancel(Long id);
}
